package gov.chinatax.ctcps.generator.dao.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

/** 
 *        @hibernate.class
 *         table="NZJZ_GSJY"
 *     
*/
public class NzjzGsjy implements Serializable {

    /** identifier field */
    private String jybh;

    /** persistent field */
    private String nd;

    /** persistent field */
    private String zffsDm;

    /** persistent field */
    private String yszbbh;

    /** nullable persistent field */
    private String xmbh;

    /** persistent field */
    private BigDecimal ysje;

    /** persistent field */
    private BigDecimal zcje;

    /** persistent field */
    private BigDecimal jhpfje;

    /** persistent field */
    private BigDecimal gssnjyje;

    /** persistent field */
    private BigDecimal gsjyje;

    /** persistent field */
    private BigDecimal gsjzxnje;

    /** persistent field */
    private String dwbh;

    /** persistent field */
    private String hzsjBz;

    /** persistent field */
    private String jyztbh;

    /** nullable persistent field */
    private String sx;

    /** nullable persistent field */
    private String zt1;

    /** nullable persistent field */
    private String zt2;
    
    private BigDecimal snzcje;

    /** full constructor */
    public NzjzGsjy(String jybh, String nd, String zffsDm, String yszbbh, String xmbh, BigDecimal ysje, BigDecimal zcje, BigDecimal jhpfje, BigDecimal gssnjyje, BigDecimal gsjyje, BigDecimal gsjzxnje, String dwbh, String hzsjBz, String jyztbh, String sx, String zt1, String zt2,BigDecimal snzcje) {
        this.jybh = jybh;
        this.nd = nd;
        this.zffsDm = zffsDm;
        this.yszbbh = yszbbh;
        this.xmbh = xmbh;
        this.ysje = ysje;
        this.zcje = zcje;
        this.jhpfje = jhpfje;
        this.gssnjyje = gssnjyje;
        this.gsjyje = gsjyje;
        this.gsjzxnje = gsjzxnje;
        this.dwbh = dwbh;
        this.hzsjBz = hzsjBz;
        this.jyztbh = jyztbh;
        this.sx = sx;
        this.zt1 = zt1;
        this.zt2 = zt2;
        this.snzcje = snzcje;
    }

    /** default constructor */
    public NzjzGsjy() {
    }

    /** minimal constructor */
    public NzjzGsjy(String jybh, String nd, String zffsDm, String yszbbh, BigDecimal ysje, BigDecimal zcje, BigDecimal jhpfje, BigDecimal gssnjyje, BigDecimal gsjyje, BigDecimal gsjzxnje, String dwbh, String hzsjBz, String jyztbh) {
        this.jybh = jybh;
        this.nd = nd;
        this.zffsDm = zffsDm;
        this.yszbbh = yszbbh;
        this.ysje = ysje;
        this.zcje = zcje;
        this.jhpfje = jhpfje;
        this.gssnjyje = gssnjyje;
        this.gsjyje = gsjyje;
        this.gsjzxnje = gsjzxnje;
        this.dwbh = dwbh;
        this.hzsjBz = hzsjBz;
        this.jyztbh = jyztbh;
    }

    public BigDecimal getSnzcje() {
		return snzcje;
	}

	public void setSnzcje(BigDecimal snzcje) {
		this.snzcje = snzcje;
	}

	/** 
     *            @hibernate.id
     *             generator-class="assigned"
     *             type="java.lang.String"
     *             column="JYBH"
     *         
     */
    public String getJybh() {
        return this.jybh;
    }

    public void setJybh(String jybh) {
        this.jybh = jybh;
    }

    /** 
     *            @hibernate.property
     *             column="ND"
     *             length="4"
     *             not-null="true"
     *         
     */
    public String getNd() {
        return this.nd;
    }

    public void setNd(String nd) {
        this.nd = nd;
    }

    /** 
     *            @hibernate.property
     *             column="ZFFS_DM"
     *             length="2"
     *             not-null="true"
     *         
     */
    public String getZffsDm() {
        return this.zffsDm;
    }

    public void setZffsDm(String zffsDm) {
        this.zffsDm = zffsDm;
    }

    /** 
     *            @hibernate.property
     *             column="YSZBBH"
     *             length="50"
     *             not-null="true"
     *         
     */
    public String getYszbbh() {
        return this.yszbbh;
    }

    public void setYszbbh(String yszbbh) {
        this.yszbbh = yszbbh;
    }

    /** 
     *            @hibernate.property
     *             column="XMBH"
     *             length="50"
     *         
     */
    public String getXmbh() {
        return this.xmbh;
    }

    public void setXmbh(String xmbh) {
        this.xmbh = xmbh;
    }

    /** 
     *            @hibernate.property
     *             column="YSJE"
     *             length="16"
     *             not-null="true"
     *         
     */
    public BigDecimal getYsje() {
        return this.ysje;
    }

    public void setYsje(BigDecimal ysje) {
        this.ysje = ysje;
    }

    /** 
     *            @hibernate.property
     *             column="ZCJE"
     *             length="16"
     *             not-null="true"
     *         
     */
    public BigDecimal getZcje() {
        return this.zcje;
    }

    public void setZcje(BigDecimal zcje) {
        this.zcje = zcje;
    }

    /** 
     *            @hibernate.property
     *             column="JHPFJE"
     *             length="16"
     *             not-null="true"
     *         
     */
    public BigDecimal getJhpfje() {
        return this.jhpfje;
    }

    public void setJhpfje(BigDecimal jhpfje) {
        this.jhpfje = jhpfje;
    }

    /** 
     *            @hibernate.property
     *             column="GSSNJYJE"
     *             length="16"
     *             not-null="true"
     *         
     */
    public BigDecimal getGssnjyje() {
        return this.gssnjyje;
    }

    public void setGssnjyje(BigDecimal gssnjyje) {
        this.gssnjyje = gssnjyje;
    }

    /** 
     *            @hibernate.property
     *             column="GSJYJE"
     *             length="16"
     *             not-null="true"
     *         
     */
    public BigDecimal getGsjyje() {
        return this.gsjyje;
    }

    public void setGsjyje(BigDecimal gsjyje) {
        this.gsjyje = gsjyje;
    }

    /** 
     *            @hibernate.property
     *             column="GSJZXNJE"
     *             length="16"
     *             not-null="true"
     *         
     */
    public BigDecimal getGsjzxnje() {
        return this.gsjzxnje;
    }

    public void setGsjzxnje(BigDecimal gsjzxnje) {
        this.gsjzxnje = gsjzxnje;
    }

    /** 
     *            @hibernate.property
     *             column="DWBH"
     *             length="50"
     *             not-null="true"
     *         
     */
    public String getDwbh() {
        return this.dwbh;
    }

    public void setDwbh(String dwbh) {
        this.dwbh = dwbh;
    }

    /** 
     *            @hibernate.property
     *             column="HZSJ_BZ"
     *             length="1"
     *             not-null="true"
     *         
     */
    public String getHzsjBz() {
        return this.hzsjBz;
    }

    public void setHzsjBz(String hzsjBz) {
        this.hzsjBz = hzsjBz;
    }

    /** 
     *            @hibernate.property
     *             column="JYZTBH"
     *             length="50"
     *             not-null="true"
     *         
     */
    public String getJyztbh() {
        return this.jyztbh;
    }

    public void setJyztbh(String jyztbh) {
        this.jyztbh = jyztbh;
    }

    /** 
     *            @hibernate.property
     *             column="SX"
     *             length="10"
     *         
     */
    public String getSx() {
        return this.sx;
    }

    public void setSx(String sx) {
        this.sx = sx;
    }

    /** 
     *            @hibernate.property
     *             column="ZT1"
     *             length="50"
     *         
     */
    public String getZt1() {
        return this.zt1;
    }

    public void setZt1(String zt1) {
        this.zt1 = zt1;
    }

    /** 
     *            @hibernate.property
     *             column="ZT2"
     *             length="50"
     *         
     */
    public String getZt2() {
        return this.zt2;
    }

    public void setZt2(String zt2) {
        this.zt2 = zt2;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("jybh", getJybh())
            .toString();
    }

    public boolean equals(Object other) {
        if ( !(other instanceof NzjzGsjy) ) return false;
        NzjzGsjy castOther = (NzjzGsjy) other;
        return new EqualsBuilder()
            .append(this.getJybh(), castOther.getJybh())
            .isEquals();
    }

    public int hashCode() {
        return new HashCodeBuilder()
            .append(getJybh())
            .toHashCode();
    }

}
